package com.yand.frame.dao;


import com.yand.frame.dto.user.UserDto;
import com.yand.frame.entity.ActivityUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 用户相关的DAO
 */
@Mapper
public interface UserDao {

     ActivityUser getUser(String name);

     List<ActivityUser> getActivityUserList(UserDto dto);

     void insert(ActivityUser user);

     void delete(Integer id);

     void udpatePass(ActivityUser user);
}
